import { request } from "@/utils/request";

// 查询店铺
export const apiShopInfo = (data: any = {}) => {
    return request({
        url: "/shop/shopInfo",
        method: "POST",
        data,
    });
}
// 查询店铺
export const apiShop = (data: any = {}) => {
    return request({
        url: "/shop/info",
        method: "POST",
        data,
    });
}
// 新增店铺
export const apiShopAdd = (data: any) => {
    return request({
        url: "/shop/add",
        method: "POST",
        data,
    });
}
// 编辑店铺
export const apiShopEdit = (data: any) => {
    return request({
        url: "/shop/edit",
        method: "POST",
        data,
    });
}
// 认证
export const apiAuthentication = (data: any) => {
  return request({
      url: "/commodity/edit ",
      method: "POST",
      data,
  });
}

// 官网商品详情
export const gwInfo = (data: any) => {
    return request({
        url: "/gw/commodity/info ",
        method: "POST",
        data,
    });
}
